package com.jekun.helloworld.designmode.command.demo02;

/**
 * @author Administrator
 */
public abstract class AbstractCommand {

    /**
     * 执行
     * @param value
     * @return
     */
    public abstract int execute(int value);

    /**
	 * 撤销
	 * @return
	 */
	public abstract int undo();
}
